Motion.StopAxis method
Commands a controlled motion stop and sets an axis to the Stopping state. It aborts any ongoing function execution. While an axis is in the Stopping state, other functions can't move the axis. After the axis has reached velocity zero, the Done
field of KsCommandStatus is set to true immediately. To leave the Stopping state and go to Standstill, use Motion.ReleaseAxis.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsCommandStatus StopAxis(
int Index,
double Deceleration,
double Jerk
)
Public Function StopAxis(
Index As Integer,
Deceleration As Double,
Jerk As Double
) As KsCommandStatus
Parameters
Index [in]
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Deceleration [in]
Type: double
A value of the deceleration. The unit is determined by McProfileType. [unit/second2] or [second]
Jerk [in]
Type: double
A value of the jerk. The unit is determined by McProfileType. [unit/second3] or [second]
Return value
Type: KsCommandStatus
Returns the KsCommandStatus class.
Examples
N/A
See also